package com.ting.log.dto;

import com.ting.common.vo.PageBaseAreaDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 10428
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class LogOperateSaveDTO extends PageBaseAreaDTO {

    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "用户名")
    private String userName;
    @ApiModelProperty(value = "ip")
    private String ip;
    @ApiModelProperty(value = "ua")
    private String ua;

    @ApiModelProperty(value = "场景")
    private String source;
    @ApiModelProperty(value = "操作内容")
    private String operationName;
    @ApiModelProperty(value = "请求结果")
    private Boolean result;

    @ApiModelProperty(value = "请求参数")
    private String requestParam;
    @ApiModelProperty(value = "错误信息")
    private String errorMsg;
}
